package oop.day04;

public class GetterSetterDemo
{
    public static void main(String[] args)
    {
        Point point = new Point();
        point.setX(199);
        point.setY(222);
        System.out.println(point.getX() + " , " + point.getY());
        Point point1 = new Point(11,22);
        System.out.println(point1.getX() + " " + point1.getY());



    }
}
